package com.shilan.dllo.wangyi.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebView;

import com.shilan.dllo.wangyi.R;

/**
 * Created by dllo on 15/11/6.
 */
public class HeadLineDetailActivity extends AppCompatActivity{

    private WebView wedView;
    private String url;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.webview_headline_detil);
        initView();
    }

    private void initView() {
        wedView = (WebView) findViewById(R.id.wedView);
        Intent intent = getIntent();
        url = intent.getStringExtra("url");
        wedView.loadUrl(url);
    }
}
